package com.guit.hrms.po.resume;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Education {
    @NotBlank(message = "school不能为空")
    private String school;
    @NotBlank(message = "major不能为空")
    private String major;
    @NotBlank(message = "degree不能为空")
    private String degree;
    @NotBlank(message = "graduationDate不能为空")
    private String graduationDate;
}
